using Cysharp.Threading.Tasks;
using HerenityCode.Reference.SingletonPattern;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// Description:
/// Author:
/// Date:
/// </summary>
public class MoreButton : SingletonPatternMonoBase<MoreButton>
{
    public GameObject moreMenu;
    public void ShowMoreMenu()
    {
        moreMenu.SetActive(true);
    }

    public async UniTask HideMoreMenu()
    {
        moreMenu.GetComponent<Animator>().Play("moreMenuHide");
        await UniTask.WaitForSeconds(0.16f);
        moreMenu.SetActive(false);
    }

    
}
